package net.xdclass.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author tom
 * @since 2025-06-02
 */
@Getter
@Setter
@TableName("account_file")
@Schema(name = "AccountFileDO", description = "")
public class AccountFileDO implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField("account_id")
    private Long accountId;

    @TableField("is_dir")
    private Integer isDir;

    @TableField("parent_id")
    private Long parentId;

    @TableField("file_id")
    private Long fileId;

    @TableField("file_name")
    private String fileName;

    @TableField("file_type")
    private String fileType;

    @TableField("file_suffix")
    private String fileSuffix;

    @TableField("file_size")
    private Long fileSize;

    @TableField("del")
    @TableLogic
    private Byte del;

    @TableField("del_time")
    private Date delTime;

    @TableField("gmt_modified")
    private Date gmtModified;

    @TableField("gmt_create")
    private Date gmtCreate;
}
